/**
 * Created by zzy on 2018/3/21.
 */
import React, {Component} from 'react';
import {
    Text,
    View,
    TouchableOpacity,
    StyleSheet,
    InteractionManager,
    DeviceEventEmitter,
    ScrollView,
    Image,
    Linking
} from 'react-native';
import Constant from "../../js/Contant";
export default class IWantOpenShop extends Component{

    static navigationOptions = ({navigation}) => {
        return ({
            title: '我要开店',
        });
    }

    render(){
        return <View style={{
            flex:1,
            backgroundColor:Constant.GRAYBGCOLOR,
            alignItems:'center'
        }}>
            <Image
                source={require('../../luoasserts/me/i_want_create_shop.png')}
                style={{alignItems:'center'}}>
                <TouchableOpacity
                    onPress={()=>{
                        Linking.openURL(Constant.APP_STORE_URL).catch(err => console.error('An error occurred', err));
                    }}
                    style={{height:200,width:'100%',backgroundColor:'#00000000'}}>
                </TouchableOpacity>
            </Image>
        </View>
    }
}
